//
//  ZYXHuiFuDetHeaderCell.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/11.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXHuiFuDetHeaderCell.h"

@implementation ZYXHuiFuDetHeaderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(ZYXStudyInfoModel *)model{
    _model = model;
    self.contentLabel.text = model.content;
    [self.iconImgView sd_setImageWithURL:[NSURL URLWithString:kImgAllUrl(model.avatar)] placeholderImage:IMG(@"imgLoading")];
    self.timeLabel.text = model.time;
    self.nameLabel.text = model.nickname;
}
@end
